package mr.ali.videoapp.portal.service;

import com.github.pagehelper.PageInfo;
import mr.ali.videoapp.portal.model.CollectionPlayCllect;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr-ali
 * @since 2025-07-20
 */
public interface ICollectionPlayCllectService extends IService<CollectionPlayCllect> {

    PageInfo<CollectionPlayCllect> findAll(Integer pageNum, Integer pageSize, Integer userId, Integer videoId);

    Integer delete(Integer userId, Integer videoId);

    Long CountPlayCommentIndex(Integer videoId);

    Boolean SelectNewCollect(Integer userId, Integer videoId);

    Integer insert(Integer userId, Integer videoId , Integer urlId ,Integer Episode);
}
